home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!news
- From: andy0756@ix.netcom.com (Andy Connors)
- Newsgroups: comp.lang.c++
- Subject: Re: BC++ 4.5: 16 & 32-bit targets, single source- possible?
- Date: 10 Mar 1996 21:29:26 GMT
- Organization: Netcom
- Message-ID: <4hvhjm$542@dfw-ixnews2.ix.netcom.com>
- References: <4hknmp$mu9@nnrp1.news.primenet.com>
- NNTP-Posting-Host: irv-ca9-12.ix.netcom.com
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
- X-NETCOM-Date: Sun Mar 10 3:29:26 PM CST 1996
- X-Newsreader: WinVN 0.99.7
-
- In article <4hknmp$mu9@nnrp1.news.primenet.com>, bkeeler@primenet.com writes...
- >
- >I am using BC++ 4.52, and am developing for Win 16 & 32. I want to be able to
- >compile my source for both platforms within a single project. I am trying to
- >do this within the IDE. I know that there's a way to recompile the source
- >at will in a makefile.
- >
- >The problem is that when the first (16-bit) target is created, the .obj files
- >are 16-bit records, then when it's time to create the second (32-bit) target,
- >the maker sees that the obj file is up-to-date, and then the linker complains
- >about 16-bit records when trying to create a 32-bit target.
- >
- >Is there a solution other than manually builing this each time, or using
- >command-line tools?
- >
- >Thanks,
- >
- >Bill
- >
- >........................................................
- >
- >Bill Keeler: bkeeler@primenet.com
- >Online PC Help - Computer Consulting, Custom Programming
- >
- >My opinions are ... well, what do you think?
-
- See Borland's information on "Source Pools". There's scanty written
- documentation that refers you to an online example program. You also need to
- specify different directories for the object and .exe files for the 16-bit and
- 32-bit versions.
-
- Andy Connors
-
-